package day9.generic;

/**
 * @author joker
 * @date 2022/4/20 0020 - 2:11
 */
public class OldPerson {
    private int id;

    public OldPerson(int id) {
        this.id = id;
    }

    public OldPerson() {
    }

    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "OldPerson{" +
                "id=" + id +
                '}';
    }
}
